package org.kineticsproject.visualizations;

import javax.swing.JCheckBox;

import org.jfree.chart.renderer.xy.XYItemRenderer;
import org.jfree.chart.axis.Axis;

public class JCheckBoxExt extends JCheckBox
{
	
	private XYItemRenderer renderer;
	private Axis		   axis;

	public Axis getAxis()
	{
		return axis;
	}

	public void setAxis(Axis axis)
	{
		this.axis = axis;
	}

	public JCheckBoxExt()
	{
		super();
	}
	
	public JCheckBoxExt(String text)
	{
		super(text);
	}
	
	public JCheckBoxExt(String text, boolean selected)
	{
		super(text,selected);
	}
	
	public JCheckBoxExt(String text, boolean selected, XYItemRenderer renderer)
	{
		super(text,selected);
		//this.series = series;
		this.renderer = renderer;
	}

	public XYItemRenderer getRenderer()
	{
		return renderer;
	}

	public void setRenderer(XYItemRenderer renderer)
	{
		this.renderer = renderer;
	}


}
